package com.gen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("gen_validation_rule")
public class ValidationRule extends BaseEntity {
    
    private String name;
    private String identifier;
    
    @TableField("expression")
    private String expression;
    
    @TableField("error_message")
    private String errorMessage;
    
    private String description;
}